/*
 * jQuery FlexSlider v2.0
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the GPLv2 license.
 * http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Contributing author: Tyler Smith (@mbmufffin)
 */
/* Browser Resets */
.flex-container a:active,
.flexslider a:active,
.flex-container a:focus,
.flexslider a:focus  {outline: none;}
.slides,
.flex-control-nav,
.flex-direction-nav {margin: 0; padding: 0; list-style: none;} 

/* FlexSlider Necessary Styles
*********************************/ 
.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {width: 100%; display: block;}
.flex-pauseplay span {text-transform: capitalize;}

/* Clearfix for the .slides element */
.slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;} 
html[xmlns] .slides {display: block;} 
* html .slides {height: 1%;}

/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */
.no-js .slides > li:first-child {display: block;}


/* FlexSlider Default Theme
*********************************/
.flexslider {
    border: 0px;
    position: relative;
    zoom: 1;
    padding: 2em 0;
    background: rgba(0, 0, 0, 0.34);
}
.flex-viewport {max-height: 2000px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; transition: all 1s ease;}
.loading .flex-viewport {max-height: 300px;}
.flexslider .slides {zoom: 1;}

.carousel li {margin-right: 5px}


/* Direction Nav */
.flex-direction-nav {*height: 0;}
.flex-direction-nav a {
    width: 50px;
    height: 50px;
    margin: 0;
    display: block;
    background: url('../images/img-sprite.png')rgba(255, 255, 255, 0.25) no-repeat 19px center;
    position: absolute;
    top: 50%;
    z-index: 99;
    cursor: pointer;
    text-indent: -9999px;
    -webkit-transition: all .5s;
	-moz-transition: all .5s; 
	transition: all .5s;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%; 
    border-radius: 50%;
}
.flex-direction-nav .flex-next {
    background-position: -10px center;
    right: -9%;
}
.flex-direction-nav .flex-prev {left: -9%;}
.flexslider:hover .flex-next {opacity: 1;}
.flexslider:hover .flex-prev {opacity: 1;}
.flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover {
	opacity: 1;
	-webkit-transform: scale(1.2);
	-moz-transform: scale(1.2);
	-o-transform: scale(1.2);
	-ms-transform: scale(1.2);
	transform: scale(1.2);
}
.flex-direction-nav .flex-disabled {opacity: .3!important; filter:alpha(opacity=30); cursor: default;}
/* Control Nav */
.flex-control-nav {
	display: block;
    position: absolute;
    left:46%;
    margin-left: 0px;
    bottom: -30%;
}
.flex-control-nav li {margin: 0 8px; display: inline-block; zoom: 1; *display: inline;}
.flex-control-paging li a {
    width: 15px;
    height: 15px;
    display: block;
    background: #fff;
    cursor: pointer;
    text-indent: -9999px;
    border-radius: 50%;
    border: 2px solid #FAFAFA;
}
.flex-control-paging li a.flex-active { 
	background:#2EB6AF;
    cursor: default;
}
.flex-control-thumbs {margin: 5px 0 0; position: static; overflow: hidden;}
.flex-control-thumbs li {width: 25%; float: left; margin: 0;}
.flex-control-thumbs img {width: 100%; display: block; opacity: .7; cursor: pointer;}
.flex-control-thumbs img:hover {opacity: 1;}
.flex-control-thumbs .flex-active {opacity: 1; cursor: default;}


/* -- RESPONSIVE --*/

@media screen and (max-width: 1366px){
.flex-direction-nav .flex-prev {
    left: -8%;
	top:45%;
} 
.flex-direction-nav .flex-next { 
    right: -8%;
	top:45%;
}
}
@media screen and (max-width: 1080px) {
.flex-control-nav { 
    left: 45%; 
    bottom: -42%;
}	 
}
@media screen and (max-width: 1024px) {
	.flex-control-nav {
		bottom: -37%;
	}
}
@media screen and (max-width: 991px) {
	.flex-control-nav {
		left: 43%; 
		bottom:-40%;
	}
	.flex-direction-nav .flex-next {
    right: -14%;
	}
	.flex-direction-nav .flex-prev {
    left: -14%;
	}
}
@media screen and (max-width: 800px) {
	
.flex-direction-nav .flex-prev {
    left: -10%;
}
.flex-direction-nav .flex-next {
   right: -10%;
	}
}
@media screen and (max-width: 667px) {
	
.flex-direction-nav .flex-prev {
    left: -11%;
}
.flex-direction-nav .flex-next {
   right: -11%;
	}
}
@media screen and (max-width: 600px) {
	.flex-direction-nav .flex-next {
		right: -13%;
	}
	.flex-direction-nav .flex-prev {
		left: -13%;
	}
}
@media screen and (max-width: 640px) {
	.flex-control-nav {
		left: 44%;
		bottom: -24%;
	} 
}
@media screen and (max-width: 568px) {
	.flex-direction-nav .flex-next {
		right: -15%;
	}
	.flex-direction-nav .flex-prev {
		left: -15%;
	}
}
@media screen and (max-width: 480px) {
	.flex-direction-nav .flex-next {
		right: -18%;
		top:42%;
	}
	.flex-direction-nav .flex-prev {
		left: -18%;
		top:42%;
	}
	.flex-direction-nav a { 
		top: 38%; 
	}
	.flex-control-nav { 
		bottom: -16%;
		left: 41%;
	}	
}
@media screen and (max-width: 414px) {
	.flex-direction-nav a {
		width: 40px;
		height: 40px; 
		background-position:13px center; 
	} 
	.flex-direction-nav .flex-next {
		background-position: -14px center; 
	}
	.flex-control-nav {
		bottom: -18%;
		left: 37%;
	}
	.flex-direction-nav .flex-next {
		right: -17%;
		top:40%;
	}
	.flex-direction-nav .flex-prev {
		left: -17%;
		top:40%;
	}
	.flexslider {
		padding: 1em 0;
	}
}
@media screen and (max-width: 384px){
	 .flex-control-nav {
       left: 34%;
	}
	.flex-control-paging li a {
		width: 11px;
		height: 11px;
	}
}
@media screen and (max-width: 320px) {
	 .flex-direction-nav .flex-next {
		right: -20%;
	}
	.flex-direction-nav .flex-prev {
		left: -20%;
	}
}